build: do not hardcode AFLAGS for as-insn tests
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 20 Feb 2018 14:10:11 +0000 (14:10 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 21 Feb 2018 17:17:39 +0000 (17:17 +0000)
commite82c185e4ca8940ca18a9aa01024e3e8609e546c
tree936e65527028fec0d8f1d34b4b96da2ada4e0a3b
parent23b40df6f098e3bcb2f105a4909860240976e40f
build: do not hardcode AFLAGS for as-insn tests

Hardcoding as-insn to use AFLAGS is not correct. For once the test is
performed using a C file with inline assembly, and secondly the flags
used can be passed by the caller together with the CC.

Fix as-insn-check to pass the flags given as parameter to the test.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
[Fix usage comments as they are changing]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Config.mk